| Fully Qualified Name: | Laminas\Code\Generator\PropertyValueGenerator |
| Extends: | ValueGenerator |
| Name | Description | Defined By |
|---|---|---|
| __construct() | ValueGenerator | |
| __toString() | ValueGenerator | |
| addConstant() | Add constant to list | ValueGenerator |
| deleteConstant() | Delete constant from constant list | ValueGenerator |
| escape() | Quotes value for PHP code. | ValueGenerator |
| generate() | PropertyValueGenerator | |
| getArrayDepth() | ValueGenerator | |
| getAutoDeterminedType() | ValueGenerator | |
| getConstants() | Return constant list | ValueGenerator |
| getIndentation() | AbstractGenerator | |
| getOutputMode() | ValueGenerator | |
| getSourceContent() | AbstractGenerator | |
| getType() | ValueGenerator | |
| getValue() | ValueGenerator | |
| initEnvironmentConstants() | Init constant list by defined and magic constants | ValueGenerator |
| isSourceDirty() | AbstractGenerator | |
| isValidConstantType() | ValueGenerator | |
| setArrayDepth() | ValueGenerator | |
| setIndentation() | AbstractGenerator | |
| setOptions() | AbstractGenerator | |
| setOutputMode() | ValueGenerator | |
| setSourceContent() | AbstractGenerator | |
| setSourceDirty() | AbstractGenerator | |
| setType() | ValueGenerator | |
| setValue() | ValueGenerator |
| Parameter Name | Type | Description |
|---|---|---|
| $value | mixed | |
| $type | string | |
| $outputMode | string | |
| $constants | null|\SplArrayObject|\StdlibArrayObject |
Returns:
Returns: void
Add constant to list
| Parameter Name | Type | Description |
|---|---|---|
| $constant | string |
Returns: $this
Delete constant from constant list
| Parameter Name | Type | Description |
|---|---|---|
| $constant | string |
Returns: bool
Quotes value for PHP code.
| Parameter Name | Type | Description |
|---|---|---|
| $input | string | Raw |
| $quote | bool | Whether |
Returns: string PHP-ready code.
Returns: string
Returns: int
| Parameter Name | Type | Description |
|---|---|---|
| $value | mixed |
Returns: string
Return constant list
Returns: \SplArrayObject|\StdlibArrayObject
Returns: string
Returns: string
Returns: string
Returns: string
Returns: mixed
Init constant list by defined and magic constants
Returns:
Returns: bool
Returns: bool
| Parameter Name | Type | Description |
|---|---|---|
| $arrayDepth | int |
Returns: \ValueGenerator
| Parameter Name | Type | Description |
|---|---|---|
| $indentation | string |
Returns: \AbstractGenerator
| Parameter Name | Type | Description |
|---|---|---|
| $options | array|\Traversable |
Returns: \AbstractGenerator
| Parameter Name | Type | Description |
|---|---|---|
| $outputMode | string |
Returns: \ValueGenerator
| Parameter Name | Type | Description |
|---|---|---|
| $sourceContent | string |
Returns: \AbstractGenerator
| Parameter Name | Type | Description |
|---|---|---|
| $isSourceDirty | bool |
Returns: \AbstractGenerator
| Parameter Name | Type | Description |
|---|---|---|
| $type | string |
Returns: \ValueGenerator
| Parameter Name | Type | Description |
|---|---|---|
| $value | mixed |
Returns: \ValueGenerator